package com.gjh.service.system;


import com.github.pagehelper.PageInfo;
import com.gjh.domain.system.Dept;

import java.util.List;

public interface DeptService {

    public List<Dept> findAll(String companyId);

    void save(Dept dept);

    void update(Dept dept);

    Dept findById(String id);

    void deleteById(String id);

    PageInfo findByPage(String companyId,Integer pageNum, Integer pageSize);

//    PageBean<Dept> findByPage(PageBean pageBean);
}
